package com.lightningtrade.mapper;

import com.lightningtrade.domain.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysLoginMapper {

    SysUser getUserByUsername(@Param("username") String username);

    SysUser getUserByPhone(@Param("phone") String phone);

    SysUser getUserByEmail(@Param("email") String email);

    Integer insertUser(SysUser sysUser);
}
